package org.search.service.impl;


import org.search.mapper.SearchMapper;
import org.search.service.SearchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SearchServiceImpl implements SearchService {
    @Autowired
    private SearchMapper searchMapper;

    @Override
    public List<String> searchExhibition(String value) {
        return searchMapper.searchExhibition(value);
    }

    @Override
    public List<String> searchCollection(String value) {
        return searchMapper.searchCollection(value);
    }
}
